package checkpackage;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.DriverManager;
import javabean.Employee;
import javabean.Project;
import javabean.Work;

public abstract class Check{
	protected Connection getConnection() throws SQLException{
        return DriverManager.getConnection("jdbc:apache:commons:dbcp:/pool");
    }
	
	public boolean checkEmpty(Employee emp){
		return false;
	}
	
	public boolean checkEmpty(Project pro){
		return false;
	}
	
	public boolean checkEmpty(Work wor){
		return false;
	}
	
	public boolean checkWriter(Project pro, String empID){
		return false;
	}
}